<script setup>
defineOptions({name:'AppHome'})
const fet = async () => {
    console.log(
        await axios('http://localhost/demo/public/blog').then(r => r.data)
    );
}
</script>

<template>
    <div>
        Home
        <el-button @click="fet">
            请求
        </el-button>
    </div>
</template>